const state = {
	loading: false
}

const mutations = {
	LOADING: (state, isloading) => {
		state.loading = isloading

	}
}
const actions = {
	loading({
		commit
	}, is_loading) {
		if (is_loading) {
			commit('LOADING', true)
		} else {
			commit('LOADING', false)
		}
		

	},

}
export default {
	namespaced: true,
	state,
	mutations,
	actions
}
